home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Ultimate Add-On's (Tournament Edition)
/
Cybercore Publishing - Ultimate Add-on's Tournament Edition.iso
/
pakdfile.exe
/
IFACE.BAT
< prev
next >
Wrap
DOS Batch File
|
1995-08-28
|
3KB
|
165 lines
@echo off
%2
cd %3
if not exist %1\pakdfile.exe goto noCDROM
m12
goto skipNoBanner
:top
%2
cd %3
if not exist %1\pakdfile.exe goto noCDROM
m12 /n
goto skipNoBanner
:page2
%2
cd %3
if not exist %1\pakdfile.exe goto noCDROM
m12 /n /2
:skipNoBanner
if errorlevel 128 goto hints
if errorlevel 16 goto l16
if errorlevel 15 goto l15
if errorlevel 14 goto l14
if errorlevel 13 goto l13
if errorlevel 12 goto l12
if errorlevel 11 goto l11
if errorlevel 6 goto l6
if errorlevel 5 goto l5
if errorlevel 4 goto l4
if errorlevel 3 goto l3
if errorlevel 2 goto l2
if errorlevel 1 goto l1
if errorlevel 0 goto l0
goto done
REM * M12 exits with a code determined by the button pressed. Please change the
REM * sections below to your needs (your favorite launcher, game modifier, ...)
REM * Note: %1 is the CD ROM drive, %2 is the UAO drive, and %3 is the UAO dir.
:noCDROM
echo.
echo Please insert Ultimate Add-Ons CD-ROM into drive.
echo Press a key to continue ('X' or 'ESC' to Exit)
echo.
exitkey
if errorlevel 1 goto l0
goto top
:hints
see\see %1\cheats\
goto page2
:l1
call ul /1
pause
goto top
:l2
cls
call dfgo.bat %1 %2 %3
goto top
:l3
call ul /3
pause
goto top
:l4
cls
call dsntgo.bat %1 %2 %3
goto top
:l5
call ul /2
pause
goto top
:l6
cls
call rottgo.bat %1 %2 %3
goto top
:l11
cls
%1
cd \games\doom
doom.exe
pause
goto page2
:l12
cls
%1
cd \games\tv
tv.exe
pause
goto page2
:l13
cls
%1
cd \games\heretic
heretic.exe
pause
goto page2
:l14
cls
if exist shardsnt\descent.bat goto l14Run
chkspace %2 7000
if errorlevel 1 goto spaceNotOK
:spaceOK
echo The shareware version of Descent needs to be installed on your
echo hard drive to run properly. This will require about 7 Meg of free
echo diskspace. In order for it to run with this interface, it will be
echo copied to the "%3\shardsnt" directory.
echo Press 'C' to continue and copy (copy %1\games\dcent\*.* shardsnt)
echo Any other key will abort.
contkey
if errorlevel 1 goto doCopy
goto enddsnt
:doCopy
md shardsnt
copy %1\games\dcent\*.* shardsnt
:l14Run
cd shardsnt
call descent.bat
pause
goto enddsnt
:spaceNotOK
echo You may have enough hard diskspace to copy the shareware version of
echo Descent to your hard drive. Please free up about 7 Meg and try again.
pause
:enddsnt
goto page2
:l15
cls
%1
cd \games\dforces
df.exe
pause
goto page2
:l16
cls
%1
cd \games\rott
rott.exe
pause
goto page2
:l0
echo Thanks for using ... Ultimate Add-Ons Volume I
goto done
:done